<!DOCTYPE html>
<html>
<head>
  <link rel="canonical" href="https://example.com/canonical1.html#a1">
  <link rel="canonical" href="https://example.com/canonical2.html#a2">
</head>
<body>
</body>
</html>
